package com.bdmc.report.domain.bo;

import com.bdmc.common.core.domain.BaseSingleEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

;
/**
 * 车辆点火熄火业务对象 report_car_acc
 *
 * @author bdmc
 * @date 2022-08-08
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class ReportCarAccBo extends BaseSingleEntity {

    /**
     * 主键
     */
    private Long accId;

    /**
     * 人员id
     */
    private Long personId;

    /**
     * 人员名称
     */
    private String personName;

    /**
     * 车辆id
     */
    private Long carId;

    /**
     * 车牌号
     */
    private String carNum;

    /**
     * 围栏id
     */
    private Long fenceId;

    /**
     * 围栏名称
     */
    private String fenceName;

    /**
     * 数据时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime dataTime;

    /**
     * acc状态，on/off
     */
    private String accStatus;

    private String startTime;

    private String endTime;
    
    private Long deptId;

}
